<?php

use App\Http\Controllers\Common;
use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Common Routes
|--------------------------------------------------------------------------
*/

/**
 * 已关联中间件
 * 【verify.login： 登录验证】
 * 【log.operation： 操作日志】
 */
Route::prefix('common')->middleware(['verify.login'])->group(function () {
    Route::post('update', [Common\FileStoragesController::class, 'update']); // [上传接口]
    Route::get('commonFile', [Common\FileStoragesController::class, 'index']); // [附件列表]
    Route::delete('commonFileDelete/{id}', [Common\FileStoragesController::class, 'delete']); // [附件列表]

});
